package cn.bgs.mapper;

import cn.bgs.pojo.CellIntermediate;
import cn.bgs.pojo.Portal;
import cn.bgs.vo.PortalVo;
import cn.bgs.vo.CommunityVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 房屋表 Mapper 接口
 * </p>
 *
 * @author cf
 * @since 2022-06-07
 */
@Mapper
public interface PortalMapper extends BaseMapper<Portal> {

    void updateHouse(PortalVo portalVo);


    void addHouseId(CellIntermediate cellIntermediate);


    List<PortalVo> appFindMyhouse(Integer userId);

    void deleteMiddle(Integer userId);

    void deleteMyhouse(Integer userId);

    void deleteFile(Integer userId);
    List<CommunityVo> findplot();

    void delplot(Integer id);

    void addcommunity(CommunityVo forms);

    void updatecommunity(CommunityVo forms);
}
